<%@ include file="/common/taglibs.jsp"%>
<%@ page language="java" import="java.util.*" pageEncoding="utf8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" dir="ltr">
	<head>

		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<link rel="stylesheet" href="<c:url value="/css/shopadmin.css"/>" type="text/css" />


	</head>
	<body style="">
		<div class="head_content" id="headBar" style=""></div>
		<div class="main_content" id="main">

			<form action="sys_setting_batchSave.html" method="post" class="settingform" id="basic_form">
				<input name="redirect" value="sys_setting_mall_email" type="hidden" />
				<div class="tableform">
					<table border="0" cellpadding="0" cellspacing="0" width="100%">
						<tbody>
							<tr>
								<td>
									<h4>
										EMAIL设置
									</h4>
								</td>
								<td style="text-align: right; padding-right: 10px;">
									&nbsp;
								</td>
							</tr>
						</tbody>
					</table>
					<div class="division" style="position: static;">
						<table class="shop-setting" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody>
								<tr>
									<th>
										发送方式 
									</th>
									<td>
										<input value="${emailParameter.sendway.name}" name="systemSettingss[0].name" type="hidden">
										<input name="systemSettingss[0].data"  <c:if test="${emailParameter.sendway.data == 'mail'}">checked="checked"</c:if> value="mail"  type="radio" />
										<label  > 
											使用本服务器发送
										</label>
									
										<input name="systemSettingss[0].data" <c:if test="${emailParameter.sendway.data == 'smtp'}">checked="checked"</c:if> value="smtp" type="radio" />
										<label  >
											使用外部SMTP发送
										</label>
										<br />
									</td>
								</tr>
								<tr>
									<th>
										发信人邮箱 
									</th>
									<td>
										<input value="${emailParameter.usermail.name}" name="systemSettingss[1].name" type="hidden"/>
										<input class="x-input " style="width: 280px;" value="${emailParameter.usermail.data}" name="systemSettingss[1].data" />
									</td>
								</tr>
								<tr>
									<th>
										smtp服务器地址 
									</th>
									<td>
										<input value="${emailParameter.smtpserver.name}" name="systemSettingss[2].name" type="hidden" />
										<input class="x-input " style="width: 280px;" value="${emailParameter.smtpserver.data}" name="systemSettingss[2].data" />
										 
									</td>
								</tr> 
								<tr>
									<th>
										smtp服务器端口 
									</th>
									<td>
										<input value="${emailParameter.smtpport.name}" name="systemSettingss[3].name" type="hidden"/>
										<input class="x-input " value="${emailParameter.smtpport.data}" name="systemSettingss[3].data" />
 									</td>
								</tr>
								<tr>
									<th>
										smtp用户名 
									</th>
									<td>
										<input value="${emailParameter.smtpuname.name}" name="systemSettingss[4].name" type="hidden"/>
										<input class="x-input " value="${emailParameter.smtpuname.data}" name="systemSettingss[4].data" />
									</td>
								</tr>
								<tr>
									<th>
										smtp密码
									</th>
									<td>
										<input value="${emailParameter.smtppasswd.name}" name="systemSettingss[5].name" type="hidden" />
										<input class="x-input " style="width: 280px;" value="${emailParameter.smtppasswd.data}" name="systemSettingss[5].data" type="password" />
									</td>
								</tr> 
							</tbody>
						</table>
					</div>

					<div class="table-action">
						<button type="submit" class="btn">
							<span><span>保存</span> </span>
						</button>
					</div>
				</div>
			</form>


		</div>
		<div class="foot_content" id="footBar" style="font-size: 0px;"></div>
		<script type="text/javascript" src="<c:url value='/scripts/jquery-1.4.2.js'/>"></script>
		<script type="text/javascript" src="<c:url value='/scripts/jquery.validate.js'/>"></script>
		<script type="text/javascript">
	
</script>

	</body>
</html>